home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news.paonline.com!usenet
  2. From: markd@quantum.net (Mark)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: NT talking to hardware?
  5. Date: Fri, 26 Jan 1996 19:45:18 GMT
  6. Organization: Pennsylvania Online [Usenet News Server for Hire]
  7. Message-ID: <4eba6h$nk4@news.paonline.com>
  8. References: <4e6o4g$evn@is05.micron.net>
  9. Reply-To: markd@quantum.net
  10. NNTP-Posting-Host: sl27.quantum.net
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. bblack@micron.net wrote:
  14.  
  15. >Hello,
  16. >    I need some help taking to an 8 bit driver card.  The card was design to drive
  17. >a relay matrix for some testing at work.  We had it running fine on window 3.1 and  it
  18. >was decided that we should upgrade to a 32 bit operating system (NT) to increase our
  19. >speed for real time testing.  I tried to recompile the DLL that we use to talk to the
  20. >driver card to 32 bit, but the compiler did not like the outp() function I was using to
  21. >write to data to the card.  I am very new to C++ programming and this problem was
  22. >like running into a wall.  I found out that outp() is a 16 bit function and is not portable
  23. >to NT.  Does anyone know how I go about taking to hardware in a Windows NT
  24. >environment?  Any help will be appreciated.
  25.  
  26. For starters, you don't talk directly to hardware under NT.  You must
  27. go through the HAL (hardware abstraction layer).  If you don't already
  28. have it, you might want to get the book Inside Windows NT by Helen
  29. Custer. It has excellent information on NT's architecture.
  30.  
  31.  
  32.  
  33.  
  34.  
  35.